package io.gitee.pkmer.convention.repository.withmapper;

import io.gitee.pkmer.convention.base.AppBase;
import lombok.Setter;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @param <M>  mybatis mapper
 * @param <C> Mapstruct Converter
 * @author 胖卡
 * @version 1.0.0
 * @date 2024/6/20
 */
public abstract class BaseRepository<M,C> extends AppBase {
    @Setter(onMethod_ = @Autowired)
    protected M mapper;

    @Setter(onMethod_ = @Autowired)
    protected C converter;
}
